package com.metering.purchaseServerZuul.pre.admin;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import com.metering.purchaseServerCommon.common.bean.dto.MenuDTO;
import com.metering.purchaseServerCommon.common.bean.interceptor.FeignIntercepter;

import feign.Headers;

@Headers("Content-Type:application/json")
@FeignClient(name = "api-admin", configuration = FeignIntercepter.class)
public interface MenuService {
	 @GetMapping("/menu/userMenus")
	 List<MenuDTO> userMenus();
}
